projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6471aea
)
(command-line): Convert library names in `load-history' to absolute file names.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 21 Oct 2005 17:20:45 +0000
(17:20 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 21 Oct 2005 17:20:45 +0000
(17:20 +0000)
lisp/startup.el
patch
|
blob
|
history
diff --git
a/lisp/startup.el
b/lisp/startup.el
index 82191509ef9fc7b3b5eb11de3de31cccc9804256..28a29fd6a2ebe2f52d1b597861ba39d681eb4a3e 100644
(file)
--- a/
lisp/startup.el
+++ b/
lisp/startup.el
@@
-641,6
+641,17
@@
or `CVS', and any subdirectory that contains a file named `.nosearch'."
(set-locale-environment nil)
+ ;; Convert preloaded file names to absolute.
+ (setq load-history
+ (mapcar (lambda (elt)
+ (if (and (stringp (car elt))
+ (not (file-name-absolute-p (car elt))))
+ (cons (locate-file (car elt) load-path
+ load-suffixes)
+ (cdr elt))
+ elt))
+ load-history))
+
;; Convert the arguments to Emacs internal representation.
(let ((args (cdr command-line-args)))
(while args